package com.example.android.commitcontent.ime.keyboard.adapters;

import android.content.Context;
import android.support.annotation.NonNull;

import com.example.android.commitcontent.ime.R;
import com.example.android.commitcontent.ime.cores.adapters.BaseRecyclerViewAdapter;

import java.util.List;

/**
 * 符号键盘adapter
 */
public class SymbolAdapter extends BaseRecyclerViewAdapter<String> {

    public SymbolAdapter(Context context, int layoutRes, List<String> dataList) {
        super(context, layoutRes, dataList);
    }

    @Override
    protected void onBindData(@NonNull String data, @NonNull Holder holder, int position) {
        holder.text(R.id.tv_title,data);
    }
}
